package generator.controller;

import pdf.PdfCreator;
import pdf.PdfMaker;
import generator.gui.GeneratorView;
import generator.model.GeneratorModel;

/**
 * 
 * @author Peter Rosberg / Jenny Cahier
 *
 */
public class GeneratorMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		String[] feeds = 
		{
			"http://nyheter24.se/nyheter/?feed=true&feedArticles=all",
			"http://www.nyhetsportalen.se/?t=640&rss=1&na=15"
		};
		
		PdfCreator pdfCreator = new PdfMaker();
		
		GeneratorModel model = new GeneratorModel(pdfCreator, feeds);
		
		new GeneratorView(model);

	}

}
